package com.laivi.basic.common.constants;

/**
 * @author laivi.zhu@gmail.com
 * @date 2014-7-1
 * description:
 */
public interface Constant {

	String EMPTY="";
	
	int ArrayTotalSize=1000;
	
	interface Time{
		long SECOND=1000;
		
		long MIN=60*SECOND;
		
		long HOUR=60*MIN;
		
		long DAY=24*HOUR;
	}
	
	interface Encode{
		String UTF8="utf-8";
		
		String GBK="gbk";
		
		String ISO="iso-8859-1";
	}
	
	interface Crawler{
		int TIME_OUT=5*1000;
		
		long MAX=1000000000;
		
		String FILE_PATH="D:\\workspace\\git\\os-git\\os-git\\branches\\sic\\page\\";
	}
	
	interface DBDriver{
		String MYSQL="com.mysql.jdbc.Driver";
		
		String SQLSERVER_JTDS="net.sourceforge.jtds.jdbc.Driver";
		
		String ORACLE="oracle.jdbc.driver.OracleDriver";
		
		String HIVE="org.apache.hive.jdbc.HiveDriver";
	}
	
	interface SyncData{
		int SYNC_RECORD_PAGE=1000;
	}
	
	interface FTP{
		String ANONYMOUS="anonymous";
	}
	
	interface Number{
		String ZERO="0";
		String ONE="1";
	}
	
	interface Error{
		String HeapOutError="";
		
		String NotFoundMessage="";
	}
	
	interface Symbol{
		String Comma=",";
	}
}
